package com.ruoyi.wxmenusort.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 wx_menu
 *
 * @author ruoyi
 * @date 2024-01-09
 */
public class WxMenuDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 菜单名 */
    @Excel(name = "菜单名")
    private String name;

    /** 跳转页面 */
    @Excel(name = "跳转页面")
    private String page;

    /** 菜单图标 */
    @Excel(name = "菜单图标")
    private String icon;

    /** 菜单颜色 */
    @Excel(name = "菜单颜色")
    private String color;

    /** 菜单分类 */
    @Excel(name = "菜单分类")
    private String category;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private Long sortOrder;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDeleted;


    /** 分类名字 */
    @Excel(name = "分类名字")
    private String categoryName;

    /** 菜单分类的排序 */
    @Excel(name = "菜单分类的排序")
    private Long categorySortOrder;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Long getCategorySortOrder() {
        return categorySortOrder;
    }

    public void setCategorySortOrder(Long categorySortOrder) {
        this.categorySortOrder = categorySortOrder;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPage(String page)
    {
        this.page = page;
    }

    public String getPage()
    {
        return page;
    }
    public void setIcon(String icon)
    {
        this.icon = icon;
    }

    public String getIcon()
    {
        return icon;
    }
    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor()
    {
        return color;
    }
    public void setCategory(String category)
    {
        this.category = category;
    }

    public String getCategory()
    {
        return category;
    }
    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("page", getPage())
                .append("icon", getIcon())
                .append("color", getColor())
                .append("category", getCategory())
                .append("sortOrder", getSortOrder())
                .append("isDeleted", getIsDeleted())
                .toString();
    }
}
